#pragma once
#include "Headers.h"
#include "DirectX Headers.h"

#define ON true
#define OFF false

class LightObject
{
private:
	D3DLIGHT9	m_Light;
	bool		State;
	DWORD		m_Index;
public:
	LightObject():State(true),
					m_Index(0)
	{}
	bool Init(IDirect3DDevice9* Device,int LightID);
	bool SetLight(IDirect3DDevice9* Device,int LightID);
	bool MoveLight(D3DXVECTOR3 P);
	bool MoveLight(float x,float y,float z);
	bool LightSwitch(bool Flip);
	bool TurnUp(float Intensity);
};